package com.hellobike.haxing.modules.purchase.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
/**
 * @Description: t_purchase_order_detail
 * @Author: haxing-boot
 * @Date:   2020-02-12
 * @Version: V1.0
 */
@Data
@TableName("t_purchase_order_detail")
public class TPurchaseOrderDetail implements Serializable {
    private static final long serialVersionUID = 1L;
    
	/**id*/
	@TableId(type = IdType.AUTO)
    private Long id ;
	/**orderCode*/
	@Excel(name = "orderCode", width = 15)
        private String orderCode ;
	/**supplierId*/
	@Excel(name = "supplierId", width = 15)
    private Long supplierId ;
	/**supplierName*/
	@Excel(name = "supplierName", width = 15)
        private String supplierName ;
	/**supplierPrice*/
	@Excel(name = "supplierPrice", width = 15)
        private BigDecimal supplierPrice ;
	/**supplierMobile*/
	@Excel(name = "supplierMobile", width = 15)
        private String supplierMobile ;
	/**supplyVolume*/
	@Excel(name = "supplyVolume", width = 15)
        private Integer supplyVolume ;
	/**skuId*/
	@Excel(name = "skuId", width = 15)
    private Long skuId ;
	/**parentOrderCode*/
	@Excel(name = "parentOrderCode", width = 15)
	private String parentOrderCode ;
	/**skuName*/
	@Excel(name = "skuName", width = 15)
        private String skuName ;
	/**dimensionValues*/
	@Excel(name = "dimensionValues", width = 15)
        private String dimensionValues ;
	/**purchasePrice*/
	@Excel(name = "purchasePrice", width = 15)
        private BigDecimal purchasePrice ;
	/**采购数量*/
	@Excel(name = "采购数量", width = 15)
	private java.lang.Integer purchaseVolume ;
	/**state*/
	@Excel(name = "state", width = 15)
        private Integer state ;
	/**actShippedNum*/
	@Excel(name = "actShippedNum", width = 15)
        private Integer actShippedNum ;
	/**warehouseId*/
	@Excel(name = "warehouseId", width = 15)
    private Long warehouseId ;
	/**warehouseName*/
	@Excel(name = "warehouseName", width = 15)
        private String warehouseName ;
	/**过期日期*/
	@Excel(name = "过期日期", width = 20)
	private java.lang.String dateDue ;
	/**生产日期*/
	@Excel(name = "生产日期", width = 20)
	private java.lang.String dateProduce ;
	/**产地*/
	@Excel(name = "产地", width = 20)
	private java.lang.String origin ;
	/**barcode*/
	@Excel(name = "barcode", width = 20)
	private java.lang.String barcode ;
	/**arrivalTime*/
	@Excel(name = "arrivalTime", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
        private Date arrivalTime ;
	/**remark*/
	@Excel(name = "remark", width = 15)
        private String remark ;
	/**isDirectWarehousing*/
	@Excel(name = "isDirectWarehousing", width = 15)
        private Integer isDirectWarehousing ;
	/**skuUnit*/
	@Excel(name = "skuUnit", width = 15)
        private String skuUnit ;
	/**cityId*/
	@Excel(name = "cityId", width = 15)
    private Long cityId ;
	/**createTime*/
	@Excel(name = "createTime", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
        private Date createTime ;
	/**updateTime*/
	@Excel(name = "updateTime", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
        private Date updateTime ;
	/**createBy*/
	@Excel(name = "createBy", width = 15)
        private Integer createBy ;
	/**updateBy*/
	@Excel(name = "updateBy", width = 15)
        private Integer updateBy ;
	/**deleted*/
	@Excel(name = "deleted", width = 15)
      @TableLogic
      private Integer deleted ;



	/**
	 * 采购额占比
	 */
	@TableField(exist = false)
	private String purchaseAmountPec;

	@TableField(exist = false)
	private String packageDate;
	
	@TableField(exist = false)
	private String wareHouseIds;
}
